module.exports = {
    appenders: {
      file: {
        type: 'file',
        filename: '/Users/oswald/gameserver/nodejs/gameserver/log/important-things.log',
        maxLogSize: 10 * 1024 * 1024, // = 10Mb
        backups: 5, // keep five backup files
        compress: true, // compress the backups
        encoding: 'utf-8',
        mode: 0o0640,
        flags: 'w+'
      },
      error: {
        type: 'file',
        filename: '/Users/oswald/gameserver/nodejs/gameserver/log/error/errors.log',
        maxLogSize: 10 * 1024 * 1024, // = 10Mb
        backups: 5, // keep five backup files
        compress: true, // compress the backups
        encoding: 'utf-8',
        mode: 0o0640,
        flags: 'a+'
      },
      info: {
        type: 'file',
        filename: '/Users/oswald/gameserver/nodejs/gameserver/log/info/info.log',
        maxLogSize: 10 * 1024 * 1024, // = 10Mb
        backups: 5, // keep five backup files
        compress: true, // compress the backups
        encoding: 'utf-8',
        mode: 0o0640,
        flags: 'a+'
      },
      out: {
        type: 'stdout'
      }
    },
    categories: {
      default: { appenders: ['out'], level: 'trace' },
      error: {appenders: ['error'], level: 'error'},
      info: {appenders: ['info'], level: 'info'}
    }
  }
